package Chris.Project;
	 
	import android.content.ContentValues;
import android.content.Context;
	import android.database.sqlite.SQLiteDatabase;
	import android.database.sqlite.SQLiteOpenHelper;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
	 
public class DbHelper extends SQLiteOpenHelper {
 
    public DbHelper(Context context) {
        super(context, "events.db", null, 1);
    }
 
    @Override
    public void onCreate(SQLiteDatabase db) {
        String sql = "create table Events " + "(Id integer primary key, "
                + "locatie integer, " + "datum integer, "
                + "minimumleeftijd integer); ";
        db.execSQL(sql);
    }
 
    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
        // do nothing for now
    }


}

